<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * Description: 上传配置
 *
 * @author      Eden
 * @datetime    2016/11/30 23:39
 * @copyright   Beijing CmsTop Technology Co.,Ltd.
 */

$config['upload_image'] = array(
    'avatar' => array(
        'path' => '/upload/avatar/',
        'maxSize' => 200 * 1024,
        'size' => array(
            'b' => array('width' => 200, 'height' => 200),
            's' => array('width' => 100, 'height' => 100)
        )
    ),
    'base' => array(
        'path' => '/upload/base/',
        'size' => array(
            'b' => array('maxWidth' => 640),
            's' => array('maxWidth' => 320)
        )
    ),
    'goods' => array(
        'path' => '/upload/goods/',
        'maxSize' => 10 * 1024 * 1024,
    ),
    'bbs' => array(
        'path' => '/upload/bbs/',
        'maxSize' => 10 * 1024 * 1024,
        'size' => array(
            'b' => array('maxWidth' => 640),
            's' => array('maxWidth' => 320),
        )
    )
);